package com.base_java.dao;

import com.base_java.pojo.Device;

import java.util.List;

public interface DeviceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Device record);

    int insertSelective(Device record);

    Device selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Device record);

    int updateByPrimaryKeyWithBLOBs(Device record);

    int updateByPrimaryKey(Device record);

    List<Device> selectList();

    int moveDevice(Integer hotelId);

    int checkMacId(String macId);

    int updateById(Device record);

    int insertDevice(Device record);
}